//
//  question.m
//  GuessTu
//
//  Created by @Zs on 15/7/5.
//  Copyright (c) 2015年 @Zs. All rights reserved.
//

#import "Question.h"

@implementation Question

-(instancetype)initWithDic:(NSDictionary *)dict{

    if (self = [super init]) {
        self.icon = dict[@"icon"];
        self.title =dict[@"title"];
        self.answer = dict[@"answer"];
        self.options = dict[@"options"];
        
        
    }
    
    return self;
}


+(instancetype)questionWithDic:(NSDictionary *)dict{

    return [[self alloc]initWithDic:dict];

}





@end
